﻿using CommunityToolkit.Mvvm.ComponentModel;
namespace AnyTap.ViewModels;

public abstract class BaseViewModel : ObservableObject
{
	/// <summary>
	/// 进入界面
	/// </summary>
	public virtual Task OnAppearing() => Task.CompletedTask;

	/// <summary>
	/// 退出界面
	/// </summary>
	public virtual Task OnDisappearing() => Task.CompletedTask;
}
